-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (36 loc) · 1.29 KB
/
docker-compose.yml
File metadata and controls
37 lines (36 loc) · 1.29 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
version: "3.4"
services:
code-chill-client:
# You can use any version of our image
image: codechillaluna/code-chill-client:1.6.0
volumes:
# Change "$HOME" by the folder where your application.yml is.
- $HOME/code-chill/resources/config.js:/www/config/config.js
ports:
# Change the first value to the port you want to use on your host.
- "3000:80"
depends_on:
- code-chill-server
code-chill-server:
# You can use any version of our image
image: codechillaluna/code-chill-server:1.6.0
volumes:
# Change "$HOME" by the folder where your application.yml is.
- $HOME/code-chill/resources/application.yml:/config/application.yml
ports:
# Change the first value to the port you want to use on your host.
- "8080:8080"
depends_on:
- code-chill-db
code-chill-db:
image: postgres:11.2-alpine
# Script to init the database
volumes:
# Change "$HOME" by the folder where codechill.sql is.
- $HOME/code-chill/resources/codechill.sql:/docker-entrypoint-initdb.d/codechill.sql
environment:
# Change postgres credentials and database name.
# CHange this value according to what you set in your application.yml.
POSTGRES_PASSWORD: chill
POSTGRES_USER: code
POSTGRES_DB: codechill