unoffical wafrn mirror
wafrn.net
atproto
social-network
activitypub
1services:
2 frontend:
3 image: caddy:2
4 restart: unless-stopped
5 command: caddy run --config ${PWD}/packages/frontend/Caddyfile --adapter caddyfile
6 ports:
7 - 80:80
8 - 443:443
9 extra_hosts:
10 - "host.docker.internal:host-gateway"
11 - 2019:2019
12 volumes:
13 - "caddy:/data"
14 - ${PWD}/packages:${PWD}/packages
15
16 db:
17 image: postgres:17
18 #command: -c 'max_connections=500'
19 restart: unless-stopped
20 shm_size: '2gb'
21 environment:
22 POSTGRES_USER: postgres
23 POSTGRES_PASSWORD: root
24 POSTGRES_DB: wafrn
25 ports:
26 - 5432:5432
27 volumes:
28 - dbpg:/var/lib/postgresql/data
29
30 adminer:
31 image: adminer
32 restart: unless-stopped
33
34 redis:
35 image: redis:8.4
36 restart: unless-stopped
37 ports:
38 - 6379:6379
39 volumes:
40 - redis:/data
41
42volumes:
43 dbpg:
44 caddy:
45 pds:
46 frontend:
47 redis:
48 cache:
49
50
51networks:
52 default:
53 enable_ipv6: true