a mini social media app for small communities
1volumes:
2 beep-data:
3
4# networks:
5# common: {}
6
7services:
8 beep-database:
9 image: postgres:17
10 container_name: beep-database
11 # ports:
12 # - 127.0.0.1:5432:5432
13 ports:
14 - 5432:5432
15 environment:
16 - POSTGRES_DB=beep
17 - POSTGRES_USER=beep
18 - POSTGRES_PASSWORD=beep # CHANGE THIS
19 volumes:
20 - beep-data:/var/lib/postgresql/data
21 restart: on-failure:3
22 # networks:
23 # - common
24
25 beep:
26 build: .
27 container_name: beep
28 depends_on:
29 - beep-database
30 ports:
31 - 8008:8008
32 volumes:
33 - type: bind
34 source: ${PWD}/config.real.maple
35 target: /beep/config.real.maple
36 restart: on-failure:3
37 # networks:
38 # - common