blob: 6ccc74e4e41247cb6f3af97a201b1a8696918980 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
services:
app:
build: .
restart: unless-stopped
env_file: ./.env
depends_on:
- db
ports:
- 8313:80
volumes:
- "./src/:/var/www/html/:ro"
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'
|