Dockerfile, nastrel verejne casti

This commit is contained in:
Michal Kváček
2023-08-14 15:01:38 +02:00
parent 85bec30ca9
commit b6ae794489
13 changed files with 170 additions and 71 deletions
+36 -12
View File
@@ -1,22 +1,46 @@
services:
db:
image: postgres:15-alpine
cron:
image:
image: mariadb:10.11
ports:
- 3306:3306
environment:
- MYSQL_USER=root
- MYSQL_DATABASE=ull_tracker
- MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=true
volumes:
- ./db/init.sql:/docker-entrypoint-initdb.d/init.sql:ro
- db-data:/var/lib/mysql:rw
api:
context:
build: ../api
build:
context: ../api
ports:
- 8000:8000
volumes:
- ../api:/app
environment:
TZ: "Europe/Prague"
# command: ls -l /app
app:
context:
build: .
nginx:
image:
build:
context: .
target: "develop-stage"
ports:
- "9001:9000"
volumes:
- ./src:/app/src
- ./public:/app/public
- ./node_modules:/app/node_modules:delegated
command: quasar dev
# nginx:
# image:
#
#
volumes:
db-data: { }