Skip to content

Commit

Permalink
build: fixing buildx 0.18 compatibility in compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
miki725 committed Nov 7, 2024
1 parent 99efa28 commit c9ba364
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
# --------------------------------------------------------------------------
# SERVER

server: &server
server:
build:
context: ./server
target: deps
Expand All @@ -50,8 +50,13 @@ services:
interval: 1s

server-tls:
<<: *server
build:
context: ./server
target: deps
command: run -r -p 5858 --domain=tls.chalk.local --keyfile=cert.key --certfile=cert.pem --use-existing-cert
working_dir: /chalk/server
volumes:
- .:/chalk
ports:
- 5858:5858
networks:
Expand Down

0 comments on commit c9ba364

Please sign in to comment.