First commit
This commit is contained in:
34
docker-compose.yml
Normal file
34
docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
version: "3.4"
|
||||
|
||||
services:
|
||||
drill-and-practice:
|
||||
build: authserver
|
||||
image: authserver
|
||||
restart: "no"
|
||||
volumes:
|
||||
- ./authserver/:/app
|
||||
ports:
|
||||
- 7777:7777
|
||||
depends_on:
|
||||
- database
|
||||
- flyway
|
||||
env_file:
|
||||
- project.env
|
||||
|
||||
database:
|
||||
container_name: database-p2-e8774b8e-c7a9-4cce-a779-3b59be02206d
|
||||
image: postgres:14.1
|
||||
restart: "no"
|
||||
env_file:
|
||||
- project.env
|
||||
|
||||
flyway:
|
||||
image: flyway/flyway:9.11.0-alpine
|
||||
depends_on:
|
||||
- database
|
||||
volumes:
|
||||
- .:/flyway/sql
|
||||
command: -connectRetries=60 -baselineOnMigrate=true migrate
|
||||
env_file:
|
||||
- project.env
|
||||
|
||||
Reference in New Issue
Block a user