Initial commit
This commit is contained in:
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
backend:
|
||||
build: ./backend
|
||||
container_name: fb-tracker-backend
|
||||
ports:
|
||||
- "3001:3000"
|
||||
volumes:
|
||||
- ./backend/server.js:/app/server.js:ro
|
||||
- db-data:/app/data
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=false
|
||||
restart: unless-stopped
|
||||
|
||||
web:
|
||||
build: ./web
|
||||
container_name: fb-tracker-web
|
||||
ports:
|
||||
- "8081:80"
|
||||
depends_on:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
Reference in New Issue
Block a user