Skip to content

Commit 2a07c0c

Browse files
committed
Use unique container names
1 parent c4b930b commit 2a07c0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- type: bind
1616
source: ./htdocs/
1717
target: /var/www/html/
18-
container_name: rs_api
18+
container_name: rs_api_api
1919
networks:
2020
- rs_network
2121
healthcheck:
@@ -35,7 +35,7 @@ services:
3535
restart: always
3636
ports:
3737
- "3306:3306"
38-
container_name: rs_db
38+
container_name: rs_api_db
3939
networks:
4040
- rs_network
4141
healthcheck:
@@ -51,7 +51,7 @@ services:
5151
command: ["memcached", "-m", "128", "-p", "11211", "-u", "memcache"]
5252
ports:
5353
- "11211:11211"
54-
container_name: rs_memcached
54+
container_name: rs_api_memcached
5555
networks:
5656
- rs_network
5757
healthcheck:

0 commit comments

Comments
 (0)