summaryrefslogtreecommitdiff
path: root/compose.dev.yml
diff options
context:
space:
mode:
Diffstat (limited to 'compose.dev.yml')
-rw-r--r--compose.dev.yml18
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}'