-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (49 loc) · 1.04 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
version: '3.0'
services:
web:
container_name: web1
image: nginx
restart: always
ports:
- "8080:80"
ssh:
container_name: ssh1
build: ./ssh
restart: always
ports:
- "2222:22"
rdp:
container_name: rdp1
build: ./rdp
restart: always
ports:
- "3389:3389"
# docker run --net host -d --cap-add=NET_ADMIN --device /dev/net/tun
# --restart=always --log-opt max-size=1g -e Secret=your-secret-here adanite/odo_connector:eu
odo-conn:
container_name: odo-conn
image: adanite/odo_connector:eu
restart: always
network_mode: "host"
devices:
- "/dev/net/tun"
cap_add:
- NET_ADMIN
env_file:
- /vagrant/.env
#environment:
#- Secret=your-one-here
db:
container_name: pg_container
image: postgres
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: test_db
ports:
- "5432:5432"
volumes:
- pg_data:/var/lib/postgresql/data/
volumes:
pg_data: