docker multi-images

This commit is contained in:
Jun Kurihara 2023-01-20 22:12:51 +09:00
commit c4ba156ea1
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
10 changed files with 138 additions and 12 deletions

21
docker/docker-compose.yml Normal file
View file

@ -0,0 +1,21 @@
version: "3"
services:
rpxy-rp:
image: jqtype/rpxy
container_name: rpxy
restart: unless-stopped
ports:
- 127.0.0.1:8080:8080
- 127.0.0.1:8443:8443
build:
context: ../
dockerfile: ./docker/amd64/Dockerfile
environment:
- LOG_LEVEL=debug
- LOG_TO_FILE=false
tty: false
privileged: true
volumes:
- ../example-certs/server.crt:/certs/server.crt:ro
- ../example-certs/server.key:/certs/server.key:ro
- ../config-example.toml:/etc/rpxy.toml:ro