48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
version: '3'
|
|
services:
|
|
code-server:
|
|
container_name: code
|
|
image: lscr.io/linuxserver/code-server:latest
|
|
environment:
|
|
- PUID=0
|
|
- PGID=0
|
|
- TZ=Europe/London
|
|
- PASSWORD=${CODESERVER_PASSWORD}
|
|
- DEFAULT_WORKSPACE=/config/workspace
|
|
volumes:
|
|
- code-server_config:/config
|
|
- code-server_root:/root
|
|
- has_config:/mnt/has_config
|
|
- nginx_conf:/mnt/nginx_config
|
|
- mosquitto_config:/mnt/mosquitto_config
|
|
- telegraf_conf:/mnt/telegraf_conf
|
|
- hostfs:/mnt/hostfs
|
|
networks:
|
|
- code
|
|
- reverseproxy_public
|
|
ports:
|
|
- 8444:8443
|
|
restart: unless-stopped
|
|
volumes:
|
|
code-server_config:
|
|
code-server_root:
|
|
has_config:
|
|
name: has_app_config
|
|
external: true
|
|
has_config:
|
|
hostfs:
|
|
external: true
|
|
nginx_conf:
|
|
name: reverseproxy_nginx-conf.d
|
|
external: true
|
|
mosquitto_config:
|
|
external: true
|
|
telegraf_conf:
|
|
external: true
|
|
name: monitoring_telegraf_conf
|
|
networks:
|
|
code:
|
|
reverseproxy_public:
|
|
external: true
|
|
|
|
|