config initial

This commit is contained in:
2020-01-25 11:53:33 -05:00
commit edbc602232
5 changed files with 133 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
version: '3.7'
services:
nginx:
image: nginx:alpine-perl
container_name: theia_nginx
environment:
- GIREF_HOSTNAME=${GIREF_HOSTNAME}
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
ports:
- 80:80
theia:
build:
context: .
dockerfile: Dockerfile
container_name: theia
image: theia-vpn
expose:
- "3000"
volumes:
- "$VOLUME:/home/project:cached"
- ~/.ssh:/home/.ssh:ro
init: true
environment:
- ANYCONNECT_SERVER=${ANYCONNECT_SERVER}
- ANYCONNECT_USER=${ANYCONNECT_USER}
- ANYCONNECT_PASSWORD=${ANYCONNECT_SERVER}
- USER_ID=${USER_ID}
networks:
- default
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
restart: unless-stopped