-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-run.yml
39 lines (36 loc) · 1.21 KB
/
docker-compose-run.yml
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
version: '3.7'
services:
database:
image: postgres:12.2-alpine
container_name: database
volumes:
- ${postgres_datafile_path}:/var/lib/postgresql/data/pgdata
environment:
- POSTGRES_USER=localeat
- POSTGRES_PASSWORD=${postgres_password}
- PGDATA=/var/lib/postgresql/data/pgdata
ports:
- ${postgres_port}:5432
core:
image: benjaminpochat/localeat-core:${DOCKER_IMAGE_TAG:-latest}
depends_on:
- database
environment:
- spring_datasource_url=jdbc:postgresql://database:5432/localeat
- spring_datasource_username=localeat
- spring_datasource_password=${postgres_password}
- spring_jpa_properties_hibernate_dialect=org.hibernate.dialect.PostgresPlusDialect
- localeat_smtp_password=${smtp_password}
- localeat_http_domainname=${domain_name}
- localeat_payment_molliepaymentapikey=${mollie_api_key}
ports:
- ${backend_port}:8080
ui:
image: benjaminpochat/localeat-ui:${DOCKER_IMAGE_TAG:-latest}
depends_on:
- core
volumes:
- ${frontend_config_file_path}:/usr/local/apache2/htdocs/assets/config
ports:
- ${frontend_port}:80