Last active 1728757480

DraxCodes's Avatar DraxCodes revised this gist 1728757480. Go to revision

1 file changed, 2 deletions

docker-compose.yml

@@ -31,8 +31,6 @@ services:
31 31 pgcloudflare:
32 32 image: cloudflare/cloudflared
33 33 command: tunnel --no-autoupdate run
34 - depends_on:
35 - - nginx
36 34 environment:
37 35 - TUNNEL_TOKEN=${CF_TOKEN}
38 36 networks:

DraxCodes's Avatar DraxCodes revised this gist 1728757393. Go to revision

1 file changed, 48 insertions

docker-compose.yml(file created)

@@ -0,0 +1,48 @@
1 + version: "3.8"
2 + services:
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 +
42 + volumes:
43 + local_pgdata:
44 + pgadmin-data:
45 +
46 + networks:
47 + pg-net:
48 + driver: "bridge"
Newer Older