summaryrefslogtreecommitdiff
path: root/compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'compose.yml')
-rw-r--r--compose.yml20
1 files changed, 4 insertions, 16 deletions
diff --git a/compose.yml b/compose.yml
index 78349a1..7b68e2e 100644
--- a/compose.yml
+++ b/compose.yml
@@ -1,29 +1,17 @@
services:
app:
- build: .
+ build:
+ context: ./
+ target: prod
restart: unless-stopped
env_file: ./.env
depends_on:
- db
ports:
- - 8313:80
- # volumes:
- # - "./src/:/var/www/html/:ro"
+ - 127.0.0.1:8313:80
db:
image: postgres
restart: unless-stopped
env_file: ./.env
- # ports:
- # - 5432:5432
volumes:
- ./data/db:/var/lib/postgresql/data
- # admin:
- # image: dpage/pgadmin4:latest
- # restart: unless-stopped
- # depends_on:
- # - db
- # ports:
- # - 8314:80
- # environment:
- # PGADMIN_DEFAULT_EMAIL: 'pgadmin@jonaskohl.de'
- # PGADMIN_DEFAULT_PASSWORD: 'admin'