-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml.stack.example
More file actions
47 lines (45 loc) · 1.02 KB
/
docker-compose.yml.stack.example
File metadata and controls
47 lines (45 loc) · 1.02 KB
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
43
44
45
46
47
services:
phoenixd:
build:
context: ../
tags:
- "massmux/phoenixd"
container_name: ${COMPOSE_PROJECT_NAME}-phoenixd
hostname: phoenixd
image: massmux/phoenixd
restart: on-failure
volumes:
- ./data:/root/.phoenix
working_dir: /app
environment:
- TZ=Europe/Rome
networks:
- backend
- frontend
lnbits:
container_name: ${COMPOSE_PROJECT_NAME}-lnbits
image: massmux/lnbits:0.12.11
hostname: lnbits
restart: on-failure
stop_grace_period: 1m
volumes:
- ./lnbitsdata:/app/data
- ./.env:/app/.env
environment:
FORWARDED_ALLOW_IPS: "*"
networks:
- backend
- frontend
postgres:
container_name: ${COMPOSE_PROJECT_NAME}-postgres
image: postgres
restart: on-failure
environment:
POSTGRES_PASSWORD: XXXX
POSTGRES_DB: lnbits
PGDATA: "/var/lib/postgresql/data/pgdata"
volumes:
- ./pgdata:/var/lib/postgresql/data
- ./pgtmp:/var/tmp
networks:
- backend