v0.1.0
This commit is contained in:
31
backend/docker-compose.yml
Normal file
31
backend/docker-compose.yml
Normal file
@ -0,0 +1,31 @@
|
||||
version: '3'
|
||||
services:
|
||||
web:
|
||||
image: jwilder/nginx-proxy
|
||||
ports:
|
||||
- "8086:80"
|
||||
- "4430:443"
|
||||
volumes:
|
||||
- //var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- ./nginx.conf:/etc/nginx/conf.d/nginx.conf
|
||||
- ./proxy.conf:/etc/nginx/proxy.conf
|
||||
- ./api:/app
|
||||
- ./certs:/etc/nginx/certs
|
||||
php:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: PHP.Dockerfile
|
||||
volumes:
|
||||
- ./api:/app
|
||||
db:
|
||||
image: mariadb:latest
|
||||
env_file: .db.env
|
||||
volumes:
|
||||
- mysqldata:/var/lib/mysql
|
||||
adminer:
|
||||
image: adminer:alpine
|
||||
env_file: .db.env
|
||||
ports:
|
||||
- 8087:8080
|
||||
volumes:
|
||||
mysqldata: {}
|
Reference in New Issue
Block a user