-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
64 lines (58 loc) · 1.64 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
63
version: "3.7"
services:
bot:
container_name: satscontact
hostname: satscontact
image: massmux/satscontact:0.0.2
restart: on-failure
build:
context: .
dockerfile: Dockerfile
volumes:
#- ${PWD}/bot:/opt/satscontact
- ${PWD}/settings.ini:/opt/satscontact/settings.ini
- ${PWD}/.cashu:/root/.cashu
- ${PWD}/.env:/opt/satscontact/.env
working_dir: /opt/satscontact
entrypoint: /opt/satscontact/entrypoint.sh
environment:
- TZ=Europe/Rome
networks:
- backend
- frontend
api:
container_name: api
hostname: api
image: massmux/satscontactapi
restart: on-failure
build:
context: .
dockerfile: Dockerfile.api
volumes:
#- ${PWD}/api:/opt/api
- ${PWD}/letsencrypt:/etc/letsencrypt
- ${PWD}/settings.ini:/opt/api/settings.ini
working_dir: /opt/api
environment:
- TZ=Europe/Rome
ports:
- 443:443
networks:
- backend
- frontend
redisdb:
container_name: satscontact-redisdb
hostname: redisdb
command: redis-server /usr/local/etc/redis/redis.conf
restart: on-failure
image: redis:5.0.12
volumes:
- ${PWD}/redisdata:/data
- ${PWD}/redisconf:/usr/local/etc/redis
networks:
- backend
networks:
backend:
internal: true
frontend:
internal: false