-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
28 lines (26 loc) · 976 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
version: "3"
networks:
web:
external: true
services:
platform:
image: ghcr.io/getwebspace/platform:latest
environment:
- DEBUG=1
# - SIMPLE_PHONE_CHECK=1
# - DATABASE=mysql://user:secret@localhost/mydb
volumes:
- ./plugin:/var/container/plugin:ro
- ./resource:/var/container/public/resource:ro
- ./theme:/var/container/theme:rw
- ./var:/var/container/var:rw
- ./var/upload:/var/container/public/uploads:rw
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.example.entrypoints=http,https"
# - "traefik.http.routers.example.tls=true"
# - "traefik.http.routers.example.tls.certresolver=letsEncrypt"
# - "traefik.http.routers.example.rule=Host(`example.com`)"
# - "traefik.http.services.example-service.loadbalancer.server.port=80"
networks:
- web