30 lines
505 B
YAML
30 lines
505 B
YAML
services:
|
|
api:
|
|
build: .
|
|
container_name: archive-local-api
|
|
restart: unless-stopped
|
|
expose:
|
|
- 5000
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./db:/app/db
|
|
|
|
web:
|
|
build: ./web
|
|
container_name: archive-local-web
|
|
restart: unless-stopped
|
|
expose:
|
|
- 3000
|
|
env_file:
|
|
- ./web/.env
|
|
|
|
nginx:
|
|
image: nginx:latest
|
|
container_name: archive-local-nginx
|
|
restart: unless-stopped
|
|
ports:
|
|
- 80:80
|
|
volumes:
|
|
- ./nginx:/etc/nginx/conf.d
|