34 lines
900 B
YAML
34 lines
900 B
YAML
version: "2.4"
|
|
services:
|
|
loginapp:
|
|
container_name: loginapp
|
|
build:
|
|
context: ./containers/loginapp
|
|
args:
|
|
- HTTP_PROXY=${HTTP_PROXY}
|
|
- HTTPS_PROXY=${HTTPS_PROXY}
|
|
- http_proxy=${http_proxy}
|
|
- https_proxy=${https_proxy}
|
|
user: ${FIXUID:-1000}:${FIXGID:-1000}
|
|
ports:
|
|
- 5000:80
|
|
volumes:
|
|
- .:/loginapp
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- $HOME/.ssh:/root/.host-ssh:ro
|
|
tmpfs:
|
|
- /loginapp/var/logs:uid=${FIXUID:-1000},gid=${FIXGID:-1000}
|
|
- /loginapp/var/cache:uid=${FIXUID:-1000},gid=${FIXGID:-1000}
|
|
- /loginapp/public/build:uid=${FIXUID:-1000},gid=${FIXGID:-1000}
|
|
- /tmp
|
|
|
|
extra_hosts:
|
|
- "loginapp.mse.local:127.0.0.1"
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
- HTTP_PROXY=${HTTP_PROXY}
|
|
- HTTPS_PROXY=${HTTPS_PROXY}
|
|
- http_proxy=${http_proxy}
|
|
- https_proxy=${https_proxy}
|
|
- TZ=Europe/Paris
|