ktvmanager/docker-compose.yml

45 lines
844 B
YAML
Raw Normal View History

2021-02-13 13:14:15 +00:00
version: "3"
2021-02-06 16:33:42 +00:00
services:
backend:
build:
context: .
dockerfile: .dockerfile
image: "karl0ss/bblbtv_dns-backend"
2021-03-12 13:56:26 +00:00
volumes:
- ./SQL/:/docker-entrypoint-initdb.d
2021-02-06 16:33:42 +00:00
ports:
- "3001:3001"
2021-03-06 09:24:10 +00:00
environment:
2021-03-12 18:44:42 +00:00
- DBHOST=vps.k-world.me.uk
2021-03-06 09:35:05 +00:00
- DBUSER=root
2021-03-06 09:24:10 +00:00
- DBPASS=example
- DATABASE=BBLB_DNS
2021-03-12 18:44:42 +00:00
- DBPORT=3307
2021-03-12 13:56:26 +00:00
depends_on:
- "db"
2021-03-12 18:44:42 +00:00
frontend:
build:
context: ./client
dockerfile: Dockerfile.prod
image: "karl0ss/bblbtv_dns-frontend"
ports:
- "6969:6969"
environment:
- URL=vps.k-world.me.uk
- PORT=6969
links:
- "backend"
2021-02-13 13:14:15 +00:00
db:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
2021-03-06 09:24:10 +00:00
ports:
2021-03-12 18:44:42 +00:00
- 3307:3306
2021-02-13 13:14:15 +00:00
adminer:
image: adminer
restart: always
ports:
- 8080:8080