marc-leopold/docker-compose.yml

34 lines
872 B
YAML

version: "3"
services:
nuxt:
build: ./app/
container_name: marcleopold-website
restart: always
ports:
- ${URL_INTERNAL}:3003:3003
environment:
- URL_INTERNAL=${URL_INTERNAL}
- URL_EXTERNAL=${URL_EXTERNAL}
- PORT_APP=${PORT_APP}
- PORT_SERVER=${PORT_SERVER}
command:
"npm run dev"
octobercms:
image: aspendigital/octobercms:latest
build: ./server/
restart: always
ports:
- ${URL_INTERNAL}:3004:80
environment:
- ENABLE_CRON=true
- APP_DEBUG=false
- INIT_PLUGINS=true
volumes:
- ./server/plugins:/var/www/html/plugins
- ./server/storage/app:/var/www/html/storage/app
- ./server/storage/logs:/var/www/html/storage/logs
- ./server/storage/database.sqlite:/var/www/html/storage/database.sqlite
- ./server/themes:/var/www/html/themes