Compare commits
2 Commits
9747214ea8
...
8e29c971d5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e29c971d5 | ||
|
|
388bc3bb3c |
28
docker.compose.yml
Normal file
28
docker.compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
nuxt-app:
|
||||
build: .
|
||||
container_name: nuxt-app
|
||||
restart: always
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- GIT_REPO_URL=${GIT_REPO_URL}
|
||||
- GIT_BRANCH=${GIT_BRANCH}
|
||||
volumes:
|
||||
- nuxt-app-data:/app
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.nuxt-app.rule=Host(`app.tiemen.dev`)"
|
||||
- "traefik.http.routers.nuxt-app.entrypoints=websecure"
|
||||
- "traefik.http.routers.nuxt-app.tls.certresolver=myresolver"
|
||||
- "traefik.http.services.nuxt-app.loadbalancer.server.port=3000"
|
||||
networks:
|
||||
- web
|
||||
|
||||
volumes:
|
||||
nuxt-app-data:
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
Reference in New Issue
Block a user