forked from acaprojects/couchbase-orm
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
51 lines (47 loc) · 1.16 KB
/
docker-compose.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
version: '3.7'
x-app-args: &app-args
BUNDLE_VERSION: ${BUNDLE_VERSION:-2.4.22}
RUBY_VERSION: ${RUBY_VERSION:-2.7-slim-bullseye}
BUNDLE_WITHOUT: production
services:
app:
build:
args:
<<: *app-args
context: .
dockerfile: Dockerfile
image: dev.example.com/mapotempo/couchbase-orm:ruby-${RUBY_VERSION:-2.7-slim-bullseye}_bundle-${BUNDLE_VERSION:-2.4.22}
volumes:
- ./:/srv/app/
- app_cache_vendor:/srv/app/vendor
environment:
- COUCHBASE_HOST=${COUCHBASE_HOST:-couchbase}
- COUCHBASE_USER=tester
- COUCHBASE_PASSWORD=password123
- COUCHBASE_BUCKET=default
- ACTIVE_MODEL_VERSION=5.2.7
- LOG_LEVEL=debug
tty: true
depends_on:
- couchbase
couchbase:
image: 'couchbase:enterprise-7.1.3'
ports:
- 8091:8091
- 8092:8092
- 8093:8093
- 8094:8094
- 8095:8095
- 8096:8096
- 11207:11207
- 11210:11210
- 11211:11211
- 18091:18091
- 18092:18092
- 18093:18093
- 18094:18094
volumes:
- ./couchbase/db:/opt/couchbase/var
- ./couchbase/dump:/couchbase-dump
volumes:
app_cache_vendor: