Initial commit
This commit is contained in:
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
backend:
|
||||
build: ./backend
|
||||
container_name: ap-backend
|
||||
volumes:
|
||||
- ./data:/data
|
||||
expose:
|
||||
- "8000"
|
||||
|
||||
nginx:
|
||||
image: nginx:stable
|
||||
container_name: ap-nginx
|
||||
ports:
|
||||
- "9090:80"
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./nginx/htpasswd:/etc/nginx/htpasswd:ro
|
||||
- ./frontend:/usr/share/nginx/html:ro
|
||||
depends_on:
|
||||
- backend
|
||||
Reference in New Issue
Block a user