Last active 1728757480

Revision cd84ff59dbdd1c89dc930a56ba44b118c8d10d2b

docker-compose.yml Raw
1version: "3.8"
2services:
3 db:
4 env_file: "vars.env"
5 image: postgres
6 container_name: local_pgdb
7 restart: always
8 environment:
9 POSTGRES_USER: ${DB_USERNAME}
10 POSTGRES_PASSWORD: ${DB_PASSWORD}
11 volumes:
12 - local_pgdata:/var/lib/postgresql/data
13 networks:
14 pg-net:
15 aliases: []
16
17 pgadmin:
18 env_file: "vars.env"
19 image: dpage/pgadmin4
20 container_name: pgadmin4_container
21 restart: always
22 environment:
23 PGADMIN_DEFAULT_EMAIL: ${PG_EMAIL}
24 PGADMIN_DEFAULT_PASSWORD: ${PG_PASSWORD}
25 volumes:
26 - pgadmin-data:/var/lib/pgadmin
27 networks:
28 pg-net:
29 aliases: []
30
31 pgcloudflare:
32 image: cloudflare/cloudflared
33 command: tunnel --no-autoupdate run
34 depends_on:
35 - nginx
36 environment:
37 - TUNNEL_TOKEN=${CF_TOKEN}
38 networks:
39 pg-net:
40 aliases: []
41
42volumes:
43 local_pgdata:
44 pgadmin-data:
45
46networks:
47 pg-net:
48 driver: "bridge"