prod template: remove maps container
As stated by moufmouf, this is only meant for testing and hosting maps
This commit is contained in:
parent
5aa46f6d84
commit
92f4728677
@ -115,29 +115,6 @@ services:
|
|||||||
- "traefik.http.routers.back-ssl.tls.certresolver=myresolver"
|
- "traefik.http.routers.back-ssl.tls.certresolver=myresolver"
|
||||||
restart: ${RESTART_POLICY}
|
restart: ${RESTART_POLICY}
|
||||||
|
|
||||||
maps:
|
|
||||||
build:
|
|
||||||
context: ../..
|
|
||||||
Dockerfile: maps/Dockerfile
|
|
||||||
#image: thecodingmachine/workadventure-maps:${VERSION}
|
|
||||||
environment:
|
|
||||||
- DEBUG_MODE
|
|
||||||
- STARTUP_COMMAND_0=sudo a2enmod headers
|
|
||||||
- STARTUP_COMMAND_1=yarn install
|
|
||||||
- STARTUP_COMMAND_2=yarn run prod &
|
|
||||||
volumes:
|
|
||||||
- ${DATA_DIR}/maps:/var/www/html
|
|
||||||
labels:
|
|
||||||
- "traefik.http.routers.maps.rule=Host(`${MAPS_HOST}`)"
|
|
||||||
- "traefik.http.routers.maps.entryPoints=web"
|
|
||||||
- "traefik.http.services.maps.loadbalancer.server.port=80"
|
|
||||||
- "traefik.http.routers.maps-ssl.rule=Host(`${MAPS_HOST}`)"
|
|
||||||
- "traefik.http.routers.maps-ssl.entryPoints=websecure"
|
|
||||||
- "traefik.http.routers.maps-ssl.service=maps"
|
|
||||||
- "traefik.http.routers.maps-ssl.tls=true"
|
|
||||||
- "traefik.http.routers.maps-ssl.tls.certresolver=myresolver"
|
|
||||||
restart: ${RESTART_POLICY}
|
|
||||||
|
|
||||||
icon:
|
icon:
|
||||||
image: matthiasluedtke/iconserver:v3.13.0
|
image: matthiasluedtke/iconserver:v3.13.0
|
||||||
labels:
|
labels:
|
||||||
|
Loading…
Reference in New Issue
Block a user