This repository was archived by the owner on Feb 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (52 loc) · 1.36 KB
/
docker-compose.yml
File metadata and controls
52 lines (52 loc) · 1.36 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.5'
networks:
stamp:
driver: overlay
attachable: true
services:
web:
# dev image: registry.safing.network/dev/stamp:latest
# production image: registry.safing.network/server/stamp:latest
# image: local/dev/stamp:latest
image: registry.safing.network/dev/stamp:latest
entrypoint: /stamp/docker-rm-server-pid.sh
# to sleep:
# command: ["sh", "-c", "tail -f /dev/null"]
command: ["rails", "server", "-b", "0.0.0.0"]
volumes:
- .:/stamp
ports:
- '3000:3000'
env_file: .docker_rails_env
postgres:
image: postgres:9.6.3
volumes:
- ${STAMP}/data/pg:/pgdata
environment:
POSTGRES_DB: stamp_development
POSTGRES_USER: postgres
POSTGRES_PASSWORD:
PGDATA: /pgdata
redis:
image: redis:latest
command: redis-server
volumes:
- ${STAMP}/data/redis:/data
sidekiq:
# image: local/dev/stamp:latest
image: registry.safing.network/dev/stamp:latest
entrypoint: sidekiq -C config/sidekiq.yml
volumes:
- .:/stamp
env_file: .docker_rails_env
guard:
# image: local/dev/stamp:latest
image: registry.safing.network/dev/stamp:latest
command: guard --no-bundler-warning --no-interactions
volumes:
- .:/stamp
tty: true # color the logs
stdin_open: true
environment:
RAILS_ENV: test
RACK_ENV: test