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-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"
|
2019-02-25 14:35:01 +00:00
|
|
|
|
|
|
|
octobercms:
|
|
|
|
image: aspendigital/octobercms:latest
|
2019-02-26 10:59:48 +00:00
|
|
|
build: ./cms/
|
2019-02-25 14:35:01 +00:00
|
|
|
restart: always
|
|
|
|
ports:
|
2019-02-25 17:54:20 +00:00
|
|
|
- ${URL_INTERNAL}:3004:80
|
2019-02-25 14:35:01 +00:00
|
|
|
environment:
|
|
|
|
- ENABLE_CRON=true
|
2019-02-25 17:45:16 +00:00
|
|
|
- APP_DEBUG=false
|
2019-02-25 14:35:01 +00:00
|
|
|
- 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
|
2019-02-25 14:35:01 +00:00
|
|
|
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
|