marc-leopold/docker-compose.yml

37 lines
924 B
YAML
Raw Normal View History

2019-02-24 22:07:20 +00:00
version: "3"
services:
nuxt:
build: ./app/
container_name: marcleopold-website
restart: always
ports:
2019-02-25 17:54:20 +00:00
- ${URL_INTERNAL}:3003:3003
2019-02-25 18:14:38 +00:00
environment:
2019-02-25 18:16:34 +00:00
- URL_INTERNAL=${URL_INTERNAL}
2019-02-26 10:59:48 +00:00
- URL_CMS=${URL_CMS}
2019-02-26 11:09:24 +00:00
- URL_APP=${URL_APP}
2019-02-25 18:16:34 +00:00
- PORT_APP=${PORT_APP}
2019-02-26 10:59:48 +00:00
- PORT_CMS=${PORT_CMS}
2019-02-24 22:07:20 +00:00
command:
2019-02-25 21:05:03 +00:00
"npm run start"
octobercms:
image: aspendigital/octobercms:latest
2019-02-26 10:59:48 +00:00
build: ./cms/
restart: always
ports:
2019-02-25 17:54:20 +00:00
- ${URL_INTERNAL}:3004:80
environment:
- ENABLE_CRON=true
2019-02-25 17:45:16 +00:00
- APP_DEBUG=false
- INIT_PLUGINS=true
2019-02-26 10:59:48 +00:00
- APP_URL=${URL_CMS}
2019-02-25 21:05:03 +00:00
- CMS_LINK_POLICY=force
volumes:
2019-02-26 10:59:48 +00:00
- ./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