forked from admin/ansible
23 lines
390 B
YAML
23 lines
390 B
YAML
version: '3.8'
|
|
services:
|
|
code-server:
|
|
image: linuxserver/code-server:latest
|
|
ports:
|
|
- "8443:8443"
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
TZ: UTC
|
|
PASSWORD: changeme
|
|
volumes:
|
|
- config:/config
|
|
- workspace:/config/workspace
|
|
deploy:
|
|
replicas: 1
|
|
restart_policy:
|
|
condition: on-failure
|
|
|
|
volumes:
|
|
config:
|
|
workspace:
|