Skip to content

Commit

Permalink
Hotfix: Add env file dir for docker compose files (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
huGgW authored Apr 6, 2024
1 parent 8d187d7 commit 0403c79
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docker-compose-backend.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
services:
green:
env_file:
- .env_server
container_name: csereal_server_green
ports:
- 8080:8080
Expand Down
4 changes: 3 additions & 1 deletion docker-compose-caddy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
services:
caddy:
env_file:
- .env_proxy
container_name: csereal_caddy
image: caddy:2.7.4-alpine
ports:
Expand All @@ -14,4 +16,4 @@ services:
LOCAL_IP: ${LOCAL_IP}
extra_hosts:
- host.docker.internal:host-gateway
restart: always
restart: always
4 changes: 3 additions & 1 deletion docker-compose-db.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
services:
db:
env_file:
- .env_db
container_name: csereal_db_container
image: mysql:8.0
ports:
Expand All @@ -12,4 +14,4 @@ services:
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
restart: always
restart: always

0 comments on commit 0403c79

Please sign in to comment.