-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
47 lines (44 loc) · 950 Bytes
/
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
version: "3.7"
services:
back:
image: imagelist/ovpn_freeipa_mgmt:latest-api
user: root
restart: always
container_name: ovpn-mgmt-back
hostname: backend # requests from the frontend are proxied to the hostname
command: >
--ipa-server=https://ipa.example.com
volumes:
- type: bind
source: /etc/openvpn/
target: /etc/openvpn/
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "1"
networks:
- ovpn_mgmt
front:
image: imagelist/ovpn_freeipa_mgmt:latest-ui
user: root
restart: always
container_name: ovpn-mgmt-front
ports:
- 8080:80
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "1"
depends_on:
- back
networks:
- ovpn_mgmt
networks:
ovpn_mgmt:
name: ovpn_mgmt
driver: bridge
ipam:
driver: default
config: []