36 lines
897 B
YAML
36 lines
897 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_CMS=${URL_CMS}
|
|
- PORT_APP=${PORT_APP}
|
|
- PORT_CMS=${PORT_CMS}
|
|
command:
|
|
"npm run start"
|
|
|
|
octobercms:
|
|
image: aspendigital/octobercms:latest
|
|
build: ./cms/
|
|
restart: always
|
|
ports:
|
|
- ${URL_INTERNAL}:3004: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
|