forked from nostriphant/transpher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (48 loc) · 912 Bytes
/
docker-compose.yml
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
48
49
50
51
services:
relay:
image: nostriphant/transpher-relay
ports:
- "${RELAY_PORT}:80"
volumes:
- logs:/app/logs
- data:/app/data
networks:
local:
ipv4_address: 10.8.0.8
env_file:
- stack.env
restart: unless-stopped
agent:
image: nostriphant/transpher-agent
volumes:
- logs:/app/logs
networks:
local:
ipv4_address: 10.8.0.6
env_file:
- stack.env
depends_on:
- relay
restart: unless-stopped
networks:
local:
driver: bridge
driver_opts:
com.docker.network.bridge.host_binding_ipv4: "127.0.0.1"
ipam:
config:
- subnet: 10.8.0.0/16
gateway: 10.8.0.1
volumes:
data:
driver: local
driver_opts:
type: none
o: bind
device: ./data
logs:
driver: local
driver_opts:
type: none
o: bind
device: ./logs