marc-leopold/docker-compose.yml

37 lines
939 B
YAML

version: "3"
services:
nuxt:
build: ./app/
container_name: marcleopold-rayelliott.dev
restart: unless-stopped
ports:
- ${URL_INTERNAL}:3013:3013
environment:
- URL_INTERNAL=${URL_INTERNAL}
- URL_CMS=${URL_CMS}
- URL_APP=${URL_APP}
- PORT_APP=${PORT_APP}
- PORT_CMS=${PORT_CMS}
command:
"npm run start"
octobercms:
image: aspendigital/octobercms:latest
build: ./cms/
restart: always
ports:
- ${URL_INTERNAL}:3014:80
environment:
- ENABLE_CRON=true
- APP_DEBUG=false
- INIT_PLUGINS=true
- APP_URL=${URL_CMS}
- CMS_LINK_POLICY=force
volumes:
- ./cms/plugins:/var/www/html/plugins
- ./cms/storage/app:/var/www/html/storage/app
- ./cms/storage/logs:/var/www/html/storage/logs
- ./cms/storage/database.sqlite:/var/www/html/storage/database.sqlite
- ./cms/themes:/var/www/html/themes