Dockerfile, nastrel verejne casti
This commit is contained in:
+36
-12
@@ -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: { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user