added docker compose yaml, modified dockerfile
All checks were successful
build / docker (push) Successful in 12m25s
All checks were successful
build / docker (push) Successful in 12m25s
This commit is contained in:
parent
d865849426
commit
1495de3f63
@ -2,6 +2,7 @@
|
|||||||
FROM rust:1.75 as builder
|
FROM rust:1.75 as builder
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN apt install openssl -y -q
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
# Test stage
|
# Test stage
|
||||||
|
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
ballbot-discord-bot:
|
||||||
|
image: scm.wyattjmiller.com/wymiller/ballbot:latest
|
||||||
|
environment:
|
||||||
|
VIRTUAL_HOST: ballbot.discord.wyattjmiller.com
|
||||||
|
VIRTUAL_PORT: 80
|
||||||
|
LETSENCRYPT_HOST: ballbot.discord.wyattjmiller.com
|
||||||
|
LETSENCRYPT_EMAIL: wjmiller2016@gmail.com
|
||||||
|
## Fill these in when you deploy
|
||||||
|
# GUILD_ID:
|
||||||
|
# DISCORD_TOKEN:
|
||||||
|
expose:
|
||||||
|
- 80
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external:
|
||||||
|
name: nginx-proxy
|
Loading…
Reference in New Issue
Block a user