-
Notifications
You must be signed in to change notification settings - Fork 2
/
compose.development.yaml
69 lines (63 loc) · 2.03 KB
/
compose.development.yaml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# +----------------------------------------------------------------------------------------+ #
# | _____ _ _ | #
# | | __ \ | | (_) | #
# | | | | | ___ __ __ ___ ___ _ __ | |_ __ _ _ _ __ ___ _ __ | #
# | | | | | / _ \ \ \ / / / __| / _ \ | '_ \ | __| / _` | | | | '_ \ / _ \ | '__| | #
# | | |__| | | __/ \ V / | (__ | (_) | | | | | \ |_ | (_| | | | | | | | | __/ | | | #
# | |_____/ \___| \_/ \___| \___/ |_| |_| \__| \__,_| |_| |_| |_| \___| |_| | #
# | | #
# +----------------------------------------------------------------------------------------+ #
name: frost-development
services:
devcontainer:
build:
context: .
dockerfile: ./.devcontainer/Dockerfile
target: devcontainer
volumes:
- .:/workspace:cached
working_dir: /workspace
# ports:
command: sleep infinity
environment:
DB_URL: postgresql://postgres:postgres@db:5432/frost
depends_on:
- db
networks:
- frost-development-local
db:
# container_name: db
image: postgres:16
restart: always
volumes:
- frost-db-data:/var/lib/postgresql/data
# working_dir: /workspaces
# ports:
# - "5432:5432"
# command: sleep infinity
environment:
POSTGRES_DB: frost
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
networks:
- frost-development-local
pgadmin:
image: dpage/pgadmin4:6.11
container_name: pgadmin
ports:
- 5678:80
volumes:
- frost-pgadmin:/var/lib/pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: postgres
depends_on:
- db
restart: always
networks:
- frost-development-local
volumes:
frost-db-data:
frost-pgadmin:
networks:
frost-development-local: