|
|
|
@ -65,8 +65,8 @@ services:
|
|
|
|
|
- VIRTUAL_PATH=/legacy
|
|
|
|
|
- VIRTUAL_DEST=/legacy
|
|
|
|
|
- VIRTUAL_PORT=3000
|
|
|
|
|
- LETSENCRYPT_HOST=${DOMAIN},www.${DOMAIN},gitea.${DOMAIN} #this last one is for legacy support
|
|
|
|
|
- LETSENCRYPT_EMAIL=${EMAIL}
|
|
|
|
|
#- LETSENCRYPT_HOST=${DOMAIN},www.${DOMAIN},gitea.${DOMAIN} #this last one is for legacy support
|
|
|
|
|
#- LETSENCRYPT_EMAIL=${EMAIL}
|
|
|
|
|
ports:
|
|
|
|
|
- "3000:3000"
|
|
|
|
|
restart: always
|
|
|
|
@ -84,11 +84,11 @@ services:
|
|
|
|
|
container_name: portfolio-nuxt
|
|
|
|
|
build: ./portfolio-nuxt
|
|
|
|
|
# To rebuild the site and the server run this
|
|
|
|
|
#command: bash -c "npm run build && node .output/server/index.mjs"
|
|
|
|
|
command: bash -c "npm run build && node .output/server/index.mjs"
|
|
|
|
|
# To just start the server run this
|
|
|
|
|
# command: bash -c "node .output/server/index.mjs"
|
|
|
|
|
#command: bash -c "node .output/server/index.mjs"
|
|
|
|
|
# To start the server in dev mode
|
|
|
|
|
command: bash -c "npm run dev -o"
|
|
|
|
|
#command: bash -c "npm run dev -o"
|
|
|
|
|
volumes:
|
|
|
|
|
- portfolio-nuxt:/src/node_modules
|
|
|
|
|
- ./portfolio-nuxt:/src
|
|
|
|
@ -99,11 +99,11 @@ services:
|
|
|
|
|
# For subdirectory baseURL needs to be set in nuxt config
|
|
|
|
|
#- VIRTUAL_PATH=/dev
|
|
|
|
|
#- VIRTUAL_DEST=/dev
|
|
|
|
|
- VIRTUAL_PORT=4000
|
|
|
|
|
#- LETSENCRYPT_HOST=${DOMAIN},www.${DOMAIN},gitea.${DOMAIN} #this last one is for legacy support
|
|
|
|
|
#- LETSENCRYPT_EMAIL=${EMAIL}
|
|
|
|
|
- VIRTUAL_PORT=5000
|
|
|
|
|
- LETSENCRYPT_HOST=${DOMAIN},www.${DOMAIN},gitea.${DOMAIN} #this last one is for legacy support
|
|
|
|
|
- LETSENCRYPT_EMAIL=${EMAIL}
|
|
|
|
|
ports:
|
|
|
|
|
- "4000:4000"
|
|
|
|
|
- "5000:5000"
|
|
|
|
|
restart: always
|
|
|
|
|
#depends_on:
|
|
|
|
|
#mongo:
|
|
|
|
|