24 lines
463 B
YAML
24 lines
463 B
YAML
version: '3'
|
|
|
|
services:
|
|
reverse:
|
|
container_name: reverse
|
|
hostname: reverse
|
|
image: nginx
|
|
ports:
|
|
- 443:443
|
|
volumes:
|
|
- ./nginx/:/etc/nginx/
|
|
- ./certs/:/etc/ssl/private/
|
|
|
|
code-server:
|
|
user: 1001:1001
|
|
expose:
|
|
- '8080'
|
|
volumes:
|
|
- './project:/home/coder/project/'
|
|
- './user:/home/coder/.local/share/code-server/'
|
|
environment:
|
|
- PASSWORD=xxxx*xxxx
|
|
image: 'codercom/code-server:latest'
|