-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-services.yml
53 lines (50 loc) · 1.28 KB
/
docker-compose-services.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '3'
services:
# ------------------------- ALPHA -------------------------
alpha-postgres-db:
container_name: fp-alpha-db
image: postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- '5432:5432'
expose:
- '5432'
volumes:
- fp-alpha-db:/var/lib/postgresql/data
alpha-pgadmin:
container_name: fp-alpha-pgadmin
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: pgadmin4@pgadmin.org
PGADMIN_DEFAULT_PASSWORD: admin
PGADMIN_CONFIG_SERVER_MODE: 'False'
volumes:
- fp-alpha-pgadmin:/var/lib/pgadmin
ports:
- '5050:80'
expose:
- '5050'
restart: unless-stopped
alpha-redis:
container_name: fp-alpha-cache
image: 'redis'
ports:
- '6379:6379'
command: ['redis-server', '--requirepass', 'fastify_redis_password']
volumes:
- fp-alpha-cache-data:/data
- fp-alpha-cache-conf:/usr/local/etc/redis/redis.conf
# xxxxxxxxxxxxxxxxxxxxxxxxxx ALPHA xxxxxxxxxxxxxxxxxxxxxxxxxx
# Volumes for services
volumes:
# ------- ALPHA -------
fp-alpha-db: {}
fp-alpha-pgadmin: {}
fp-alpha-cache-data: {}
fp-alpha-cache-conf: {}
# xxxxxxx ALPHA xxxxxxx
keycloak-postgres:
driver: local