31 lines
640 B
YAML
31 lines
640 B
YAML
services:
|
|
web:
|
|
image: git.georgew.dev/georgew/mission-control-web:latest
|
|
container_name: mc-web
|
|
restart: always
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment:
|
|
- NODE_ENV=production
|
|
networks:
|
|
- web_traffic
|
|
|
|
worker:
|
|
image: git.georgew.dev/georgew/mission-control-worker:latest
|
|
container_name: mc-worker
|
|
restart: always
|
|
command: npx tsx scripts/update-space.ts
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment:
|
|
- NODE_ENV=production
|
|
depends_on:
|
|
- mc-web
|
|
dns:
|
|
- 8.8.8.8
|
|
- 1.1.1.1
|
|
network_mode: "bridge"
|
|
|
|
networks:
|
|
web_traffic:
|
|
external: true |