Commit 64fe9f0cc199e402e9196238fdce249e92fd0b5d
1 parent
bcc63515
Exists in
dev
update docker-compose file, add project name
Showing
1 changed file
with
9 additions
and
2 deletions
Show diff stats
docker/docker-compose.yml
1 | 1 | version: "3.9" |
2 | 2 | |
3 | +name: pyros-app | |
3 | 4 | services: |
4 | 5 | |
5 | 6 | ####################### |
... | ... | @@ -72,8 +73,10 @@ services: |
72 | 73 | # PyROS will later be installed on this image with "pyros.py install" (PYROS_DOCKER_INSTALL) |
73 | 74 | ###################################################### |
74 | 75 | pyros: |
75 | - container_name: pyros | |
76 | - restart: always | |
76 | + container_name: pyros-main | |
77 | + restart: always | |
78 | + # For tnc only | |
79 | + #image: pyros-user:1.0 | |
77 | 80 | #read_only: true |
78 | 81 | # app/pyros is equivalent to your PYROS_SOFT/PYROS/ directory |
79 | 82 | # Change "pyros" to whatever you want for the PYROS/ dir name (if you do not want "PYROS") |
... | ... | @@ -97,7 +100,11 @@ services: |
97 | 100 | args: |
98 | 101 | uid: ${CURRENT_UID} |
99 | 102 | context: .. |
103 | + # For tnc only | |
104 | + #dockerfile: ./docker/Dockerfile-pyros_user | |
100 | 105 | dockerfile: ./docker/Dockerfile |
106 | + tags: | |
107 | + - "pyros-core:1.0" | |
101 | 108 | hostname: ${COMPUTER_HOSTNAME} |
102 | 109 | # tty is the -t option in docker exec |
103 | 110 | tty: true | ... | ... |