-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
38 lines (36 loc) · 939 Bytes
/
Copy pathcompose.yaml
File metadata and controls
38 lines (36 loc) · 939 Bytes
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
services :
f1app:
image:
ports:
- "8080:8080"
extra_hosts :
- "host.docker.internal:host-gateway"
build:
context: .
mysql :
image : 'mysql:latest'
environment :
- 'MYSQL_DATABASE=f1_db'
- 'MYSQL_PASSWORD=f1_password'
- 'MYSQL_ROOT_PASSWORD=12345678'
- 'MYSQL_USER=user@localhost'
ports :
- '3306'
# myapp:
# image: sha256:184e631447127fea87382ed25e72ffcabf058b80726ef501023cc3eed35b589c
# ports:
# - "8080:8080"
# extra_hosts :
# - "host.docker.internal:host-gateway"
# build :
# context : .
# dockerfile : Dockerfile
# environment:
# SPRING_DATASOURCE_URL: jdbc:postgresql://postgres-db:5432/jira
# SPRING_DATASOURCE_USERNAME: jira
# SPRING_DATASOURCE_PASSWORD: JiraRush
# depends_on :
# postgres-db :
# condition : service_healthy
# postgres-db-test :
# condition : service_healthy