-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
42 lines (39 loc) · 931 Bytes
/
docker-compose.yaml
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
version: '3.4'
services:
puush-database:
image: postgres:latest
container_name: puush-database
restart: always
# volumes:
# - "<path to database files>:/var/lib/postgresql/data"
environment:
- POSTGRES_USER=puush
- POSTGRES_PASSWORD=1234567qw
- POSTGRES_DB=puush
networks:
puush-network:
aliases:
- puush-database
puush:
image: local/puush:latest
build: ./
container_name: puush
restart: always
depends_on:
- puush-database
# volumes:
# - "<path to saved files>:/srv/puush"
environment:
- PUUSH_POSTGRESQL_USER=puush
- PUUSH_POSTGRESQL_PASS=1234567qw
- PUUSH_POSTGRESQL_HOST=puush-database
- PUUSH_POSTGRESQL_DATABASE=puush
- PUUSH_ROOT_DIRECTORY=/srv/puush
ports:
- "8080:8080"
networks:
puush-network:
aliases:
- puush
networks:
puush-network: