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}
|
|
|
|
- URL_EXTERNAL=${URL_EXTERNAL}
|
|
|
|
- PORT_APP=${PORT_APP}
|
|
|
|
- PORT_SERVER=${PORT_SERVER}
|
2019-02-24 22:07:20 +00:00
|
|
|
command:
|
2019-02-25 13:30:56 +00:00
|
|
|
"npm run dev"
|
2019-02-25 14:35:01 +00:00
|
|
|
|
|
|
|
octobercms:
|
|
|
|
image: aspendigital/octobercms:latest
|
2019-02-25 17:14:04 +00:00
|
|
|
build: ./server/
|
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
|
|
|
|
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
|