Adding docker-compose

This first commit contains a docker-compose with:

- front container
- traefik for reverse proxy

back container will be added when ready.
This commit is contained in:
David Négrier 2020-04-03 18:31:11 +02:00
parent 20c525c3a6
commit f1ab9705c9
3 changed files with 52 additions and 1 deletions

View file

@ -6,6 +6,8 @@ module.exports = {
devtool: 'inline-source-map',
devServer: {
contentBase: './dist',
host: '0.0.0.0',
disableHostCheck: true,
},
module: {
rules: [
@ -26,6 +28,7 @@ module.exports = {
plugins: [
new webpack.ProvidePlugin({
Phaser: 'phaser'
})
}),
new webpack.EnvironmentPlugin(['API_URL'])
]
};