diff options
author | Jonas Kohl | 2024-09-19 19:33:12 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-19 19:33:12 +0200 |
commit | 2fbe9ad343e82679ba0573a7daa510cfbe488ddf (patch) | |
tree | 9b84737a765e510c87193f93aa8a34fea37e3298 /compose.dev.yml | |
parent | 75e9b62da57eb7ce3f9e8a8667a7de59188c221f (diff) |
Docker dev and prod separation
Diffstat (limited to 'compose.dev.yml')
-rw-r--r-- | compose.dev.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/compose.dev.yml b/compose.dev.yml new file mode 100644 index 0000000..4028ddc --- /dev/null +++ b/compose.dev.yml @@ -0,0 +1,18 @@ +services: + app: + build: + context: ./ + target: dev + restart: unless-stopped + volumes: + - "./src/:/var/www/html/:ro" + admin: + image: dpage/pgadmin4:latest + restart: unless-stopped + depends_on: + - db + ports: + - 127.0.0.1:8314:80 + environment: + PGADMIN_DEFAULT_EMAIL: '${PGADMIN_EMAIL}' + PGADMIN_DEFAULT_PASSWORD: '${PGADMIN_PASSWORD}' |