Commit 950ade715cbd280d02e90a83e9f0084813ae1f8f
1 parent
6e5f6f9e
Exists in
dev
fixing comment on docker-compose.yml
Showing
1 changed file
with
2 additions
and
5 deletions
Show diff stats
docker/docker-compose.yml
... | ... | @@ -16,13 +16,11 @@ services: |
16 | 16 | - ./mysql/:/etc/mysql/ |
17 | 17 | # create network to allow images to communicate with other images within the same network |
18 | 18 | networks: |
19 | - pyros-network: | |
20 | - aliases: | |
21 | - - mysql | |
19 | + - pyros-network | |
22 | 20 | |
23 | 21 | # service image of python, that let users to interact with python scripts such as pyros. |
24 | 22 | install: |
25 | - # build from the Dockerfile within the folder where docker-compose is saved | |
23 | + # path to the Dockerfile of this image | |
26 | 24 | build: .. |
27 | 25 | container_name: pyros |
28 | 26 | # tty is the -t option in docker exec |
... | ... | @@ -52,7 +50,6 @@ volumes: |
52 | 50 | # declaring networks |
53 | 51 | networks: |
54 | 52 | pyros-network: |
55 | - | |
56 | 53 | #bridge is the default network driver |
57 | 54 | driver: bridge |
58 | 55 | |
59 | 56 | \ No newline at end of file | ... | ... |