-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·42 lines (40 loc) · 997 Bytes
/
docker-compose.yml
File metadata and controls
executable file
·42 lines (40 loc) · 997 Bytes
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
version: '3.7'
services:
traefik:
image: traefik:v2.11
container_name: "traefik"
command:
#- "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
ports:
- "80:80"
- "8099:8099"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
db:
container_name: wj-pg-db-service
image: kartoza/postgis
volumes:
- ./uploads:/wj-pg-db-service/uploads
- ./db-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=webjam
- POSTGRES_USER=root
- POSTGRES_PASSWORD=password
ports:
- 5432:5432
labels:
- traefik.enable=false
pgadmin:
container_name: wj-pgadmin-container
image: dpage/pgadmin4
environment :
- PGADMIN_DEFAULT_EMAIL=admin@web-jam.com
- PGADMIN_DEFAULT_PASSWORD=password
logging:
driver: none
ports:
- 3400:80