-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (42 loc) · 1023 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (42 loc) · 1023 Bytes
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
services:
app:
image: tinybite-server:latest
container_name: tinybite-app
restart: always
ports:
- "8080:8080"
env_file:
- .env
volumes:
- /home/ubuntu/tinybite/firebase/tinybite_fcm.json:/app/config/firebase/tinybite_fcm.json:ro
networks:
- tinybite-network
nginx:
image: nginx:1.27.4
container_name: nginx
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- /home/ubuntu/tinybite/nginx/default.conf:/etc/nginx/conf.d/default.conf
- /home/ubuntu/tinybite/data/certbot/conf:/etc/letsencrypt
- /home/ubuntu/tinybite/data/certbot/www:/var/www/certbot
networks:
- tinybite-network
redis:
image: redis:7.2.4
container_name: redis
command: ["redis-server", "--requirepass", "${REDIS_PASSWORD}"]
env_file:
- .env
volumes:
- redis_data:/data
restart: always
networks:
- tinybite-network
volumes:
redis_data:
networks:
tinybite-network:
driver: bridge