-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3'
services:
fittracker:
image: 'fittracker:latest'
container_name: 'fittracker'
ports:
- '8080:8080'
environment:
DB_HOST: postgres
depends_on:
- database
profiles:
- donotstart
database:
image: 'postgres:16'
container_name: 'postgres'
ports:
- '5432:5432'
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: fittracker
pgadmin:
image: 'dpage/pgadmin4'
container_name: 'pgadmin4'
ports:
- '5050:80'
environment:
PGADMIN_DEFAULT_EMAIL: user@example.com
PGADMIN_DEFAULT_PASSWORD: password
liquibase:
image: 'liquibase/liquibase:4.23'
container_name: 'liquibase'
volumes:
- ./database/changelog.yml:/liquibase/changelog.yml
- ./database/scripts:/liquibase/scripts
- ./database/liquibase.properties:/liquibase.properties
depends_on:
- database
command:
- '--defaults-file=/liquibase.properties'
- 'update'
networks:
default:
name: fittracker