-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
62 lines (57 loc) · 1.22 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
52
53
54
55
56
57
58
59
60
61
62
version: "3"
services:
database:
container_name: database
image: mysql:5.7
volumes:
- vol_database:/var/lib/mysql
ports:
- 3307:3306
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
networks:
swift_cloud_net:
ipv4_address: 10.9.0.5
keystone:
container_name: keystone
build:
context: .docker/keystone
volumes:
- vol_keystone:/etc/keystone
depends_on:
- database
ports:
- 35357:35357
- 5000:5000
networks:
swift_cloud_net:
ipv4_address: 10.9.0.6
fake_swift:
container_name: fake_swift
build:
context: .docker/fake_swift
volumes:
- .docker/fake_swift:/home/app
- .:/home/swift_cloud
- ~/keys/gglobo-storm-dev-qa-b1d55d455cea.json:/tmp/gcp/credentials.json
entrypoint: bash -c "pip install -e /home/swift_cloud && ./run"
ports:
- 8080:8080
stdin_open: true
tty: true
environment:
FLASK_ENV: development
extra_hosts:
localhost: 10.9.0.6
networks:
swift_cloud_net:
ipv4_address: 10.9.0.7
volumes:
vol_database:
vol_keystone:
networks:
swift_cloud_net:
driver: bridge
ipam:
config:
- subnet: 10.9.0.0/16