Files
ipwa-selfhosted/compose.yml

40 lines
640 B
YAML

services:
front:
build: ./ipwa
restart: unless-stopped
env_file:
- .env
volumes:
- cert:/etc/letsencrypt
depends_on:
- api
ports:
- 80:80
- 443:443
links:
- api
api:
build: ./ipwa-backend
restart: unless-stopped
env_file:
- .env
expose:
- 8080
depends_on:
- mongodb
volumes:
- ./config/:/app/config/
links:
- mongodb
mongodb:
image: mongo:latest
restart: unless-stopped
expose:
- 27017
ports:
- "127.0.0.1:27017:27017"
volumes:
- mongodb:/data/db
volumes:
mongodb:
cert: