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,13 +16,11 @@ services: | ||
16 | - ./mysql/:/etc/mysql/ | 16 | - ./mysql/:/etc/mysql/ |
17 | # create network to allow images to communicate with other images within the same network | 17 | # create network to allow images to communicate with other images within the same network |
18 | networks: | 18 | networks: |
19 | - pyros-network: | ||
20 | - aliases: | ||
21 | - - mysql | 19 | + - pyros-network |
22 | 20 | ||
23 | # service image of python, that let users to interact with python scripts such as pyros. | 21 | # service image of python, that let users to interact with python scripts such as pyros. |
24 | install: | 22 | install: |
25 | - # build from the Dockerfile within the folder where docker-compose is saved | 23 | + # path to the Dockerfile of this image |
26 | build: .. | 24 | build: .. |
27 | container_name: pyros | 25 | container_name: pyros |
28 | # tty is the -t option in docker exec | 26 | # tty is the -t option in docker exec |
@@ -52,7 +50,6 @@ volumes: | @@ -52,7 +50,6 @@ volumes: | ||
52 | # declaring networks | 50 | # declaring networks |
53 | networks: | 51 | networks: |
54 | pyros-network: | 52 | pyros-network: |
55 | - | ||
56 | #bridge is the default network driver | 53 | #bridge is the default network driver |
57 | driver: bridge | 54 | driver: bridge |
58 | 55 | ||
59 | \ No newline at end of file | 56 | \ No newline at end of file |