Enable Nginx
This commit is contained in:
36
compose.yaml
36
compose.yaml
@@ -26,24 +26,24 @@ services:
|
||||
networks:
|
||||
- internal
|
||||
|
||||
# web:
|
||||
# image: php:8.2-apache
|
||||
# container_name: mc-web
|
||||
# environment:
|
||||
# TZ: Europe/Amsterdam
|
||||
# volumes:
|
||||
# - /opt/omb3/data/dynmap/web:/var/www/html:ro
|
||||
# restart: unless-stopped
|
||||
# depends_on:
|
||||
# - db
|
||||
# labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.routers.ombweb.rule=Host(`mc.marijndoeve.nl`, `omb.marijndoeve.nl`)
|
||||
# - traefik.http.routers.ombweb.entrypoints=websecure
|
||||
# - traefik.http.routers.ombweb.tls.certresolver=marijndoeve
|
||||
# networks:
|
||||
# - internal
|
||||
# - web
|
||||
web:
|
||||
image: php:8.2-apache
|
||||
container_name: mc-web
|
||||
environment:
|
||||
TZ: Europe/Amsterdam
|
||||
volumes:
|
||||
- /opt/omb3/data/dynmap/web:/var/www/html:ro
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.ombweb.rule=Host(`mc.marijndoeve.nl`, `omb.marijndoeve.nl`)
|
||||
- traefik.http.routers.ombweb.entrypoints=websecure
|
||||
- traefik.http.routers.ombweb.tls.certresolver=marijndoeve
|
||||
networks:
|
||||
- internal
|
||||
- web
|
||||
|
||||
# backup:
|
||||
# image: itzg/mc-backup
|
||||
|
||||
Reference in New Issue
Block a user