From 2fbe9ad343e82679ba0573a7daa510cfbe488ddf Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Thu, 19 Sep 2024 19:33:12 +0200 Subject: Docker dev and prod separation --- compose.dev.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 compose.dev.yml (limited to 'compose.dev.yml') 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}' -- cgit v1.2.3