-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
46 lines (42 loc) · 864 Bytes
/
compose.yaml
File metadata and controls
46 lines (42 loc) · 864 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:
db:
image: postgres:18
restart: unless-stopped
networks:
- internal
env_file:
- .env
volumes:
- db:/var/lib/postgresql
api:
image: pyazo/api
restart: unless-stopped
volumes:
- images:/images
networks:
- internal
env_file:
- .env
app:
image: pyazo/app
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.pyazo.rule=Host(`pyazo.com`) || Host(`app.pyazo.com`)
- traefik.http.routers.pyazo.entrypoints=websecure
- traefik.http.routers.pyazo.tls.certresolver=le
- traefik.http.services.pyazo.loadbalancer.server.port=80
networks:
- internal
- ingress
volumes:
- images:/images:ro
volumes:
db:
images:
networks:
ingress:
external: true
internal:
internal: true