-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.override.yaml
More file actions
63 lines (63 loc) · 1.4 KB
/
Copy pathcompose.override.yaml
File metadata and controls
63 lines (63 loc) · 1.4 KB
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
services:
django:
image: socnet-local-django
build:
args:
- "EXTRA=local"
- "UID=${UID:-1000}"
- "GID=${GID:-1000}"
target: python-local
depends_on:
- esbuild
ports:
- "8000:8000"
volumes:
- .:/app
- /app/.venv
postgres:
command:
[
"postgres",
"-c",
"shared_preload_libraries=pg_stat_statements",
"-c",
"pg_stat_statements.track=all",
]
networks:
- pghero-postgres
volumes:
- local-postgres-data:/var/lib/postgresql
esbuild:
build:
args:
- "UID=${UID:-1000}"
- "GID=${GID:-1000}"
dockerfile: ./docker/django/Dockerfile
pull: true
target: node-watch
init: true
networks:
- esbuild
volumes:
- ./socnet/static/private:/app/socnet/static/private
- ./socnet/static/public:/app/socnet/static/public
- ./package.json:/app/package.json
- ./tsconfig.json:/app/tsconfig.json
pghero:
image: docker.io/ankane/pghero
depends_on:
- postgres
environment:
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
init: true
networks:
- pghero-postgres
ports:
- "8080:8080"
pull_policy: always
restart: unless-stopped
networks:
esbuild:
pghero-postgres:
volumes:
local-postgres-data: